package com.huike.clues.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huike.clues.domain.TbCourse;
import com.huike.clues.domain.dto.TbCourseDTO;
import com.huike.clues.service.TbCourseService;
import com.huike.clues.mapper.TbCourseMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 93238
* @description 针对表【tb_course(课程管理)】的数据库操作Service实现
* @createDate 2023-10-12 06:35:46
*/
@Service
@RequiredArgsConstructor
public class TbCourseServiceImpl extends ServiceImpl<TbCourseMapper, TbCourse>
    implements TbCourseService{

    private final TbCourseMapper tbCourseMapper;

    /**
     * 课程列表
     * @param tbCourseDTO
     * @return
     */
    @Override
    public List<TbCourse> selectTbCourse(TbCourseDTO tbCourseDTO) {

        return tbCourseMapper.selectTbCourse(tbCourseDTO);
    }
}




